Uses of Class
model.State

Packages that use State
control   
model   
 

Uses of State in control
 

Fields in control declared as State
static State Logic.s
           
static State Compute.s
          Current state which stores the field variables
 

Methods in control with parameters of type State
static void Update.globals(State s, int week)
          Updates the global variable for the simulation
static void Update.outputs(State s)
          Outputs the update onto the main window
static void Update.skiiers(State s, int week)
          Updates the skiiers' field value for the week
static void Update.variables(State s, Details d)
          Updates the other variables (gamepercentage, numberofskiiers, weeks, weather)
 

Uses of State in model
 

Methods in model with parameters of type State
 boolean Individual.decision(int week, State s)
          Calculates the final decision of the individual
 double Individual.friendfactor(int week, State s)
          Calculates friend factor (how much friends effect their final decision)
 boolean Individual.strategy(int week, State s)
          Calculates if the user decides to go with their IQ level